package com.soft.zosagent.pojo;

import java.io.Serializable;

/**
 * @description: 文件基础信息
 * @author: cinbo，chenyinbo
 * @create: 2020-12-03 10:42
 */
public abstract  class BaseFileInfo implements Serializable {
    private String fileName;
    private String fileCharset="";
    //zfile表示记录，windows和unix表示具体位置
    private long position;
    //文件是否能覆盖
    private boolean canOverWrite=true;

    public boolean isCanOverWrite() {
        return canOverWrite;
    }

    public void setCanOverWrite(boolean canOverWrite) {
        this.canOverWrite = canOverWrite;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getPosition() {
        return position;
    }

    public void setPosition(long position) {
        this.position = position;
    }

    public String getFileCharset() {
        return fileCharset;
    }

    public void setFileCharset(String fileCharset) {
        this.fileCharset = fileCharset;
    }

    abstract public String getFileType();
}
